<%@include file="/cabecalho.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="javascript/gears_init.js"></script>
<script type="text/javascript" src="javascript/funcoes_mapas.js"></script>
<title>Here Login</title>
</head>
<body onload="init_tracker_map();">
<br>
<br>
<br>
<br>
<br>
<f:view>
<h:form id="form">
	<div align="center">
		<rich:panel style="width:60%" header="Here! Encontre seus Amigos!">
			<rich:messages />
			<div align="center">
				<h:panelGrid columns="2">
					<h:outputText value="Email:"/>
					<h:inputText value="#{usuarioMB.usuario.email}" title="Digite seu Email" />
					<h:outputText value="Senha:" />
					<h:inputSecret value="#{usuarioMB.usuario.senha}" title="Digite sua Senha"/>
				</h:panelGrid>
				<br />
				<h:commandButton value="Login"  action="#{usuarioMB.login}" />
				<h:commandLink value="Cadastrar novo usuario" action="#{usuarioMB.preCadastro}" />
			</div>
		</rich:panel>
	</div>
</h:form>
</f:view>
</body>
</html>